//
//  BookViewController.m
//  Book2
//
//  Created by mac on 15-12-4.
//  Copyright (c) 2015年 sxh. All rights reserved.
//

#import "BookViewController.h"

@interface BookViewController ()
{
    UITextView * _textview;
}

@end

@implementation BookViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"内幕";
    _textview = [[UITextView alloc] initWithFrame:self.view.bounds];
    _textview.editable = NO;
    _textview.text = self.text;
    _textview.font = [_textview.font fontWithSize:23.0];
    
    [self.view addSubview:_textview];

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
